package com.zmn.oms.model.entity.work.list;

import com.zmn.oms.model.entity.work.OrderBaseEsQuery;
import com.zmn.oms.model.es.ZmnEsFieldType;
import com.zmn.oms.model.es.ZmnToEs;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 类描述：子公司财务工单
 *
 * @author liuying
 * @date 2018/12/26 20:49
 */
@Data
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class OrderWorkBranchFinanceCountQuery extends OrderBaseEsQuery {

    /**
     * 工单状态 - 已收单的工单
     */
    @ZmnToEs(map = "status", type = ZmnEsFieldType.Integer)
    private Integer workStatus;

    /**
     * 配件报销状态 - 查询待报销数据
     */
    @ZmnToEs(map = "partReimburseStatus", type = ZmnEsFieldType.Integer)
    private Integer partReimburseStatus;

    /**
     * 开票时间
     */
    @ZmnToEs(map = "accountTime", type = ZmnEsFieldType.Date)
    private String invoiceTime;

}
